<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 编写一个函数，计算三个数字的大小，按从小到大的顺序输出 -->
    <script>
        function fun(a, b, c) {
var change = 0;
if (a > b){
change = a;
a = b;
b = change;
}
if (a > c){
change = a;
a = c;
c = change;
}
if (b > c){
change = b;
b = c;
c = change;
}
console.log("从小到大的顺序是" + a + "," + b + "," + c)
}
fun(55, 40, 33)
    </script>
</body>
</html>